package org.example.learn.bytebuddy.monitor;

import java.util.Random;

// 被监控目标
public class Goal {

    // 被监控目标方法
    public String goalMethod(String id, int val) throws InterruptedException {
        Thread.sleep(new Random().nextInt(1000));
        return id + val;
    }
}
